package com.kingdee.eas.jky.pm;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class WbsTaskFactory
{
    private WbsTaskFactory()
    {
    }
    public static com.kingdee.eas.jky.pm.IWbsTask getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.jky.pm.IWbsTask)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("4CBD60AA") ,com.kingdee.eas.jky.pm.IWbsTask.class);
    }
    
    public static com.kingdee.eas.jky.pm.IWbsTask getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.jky.pm.IWbsTask)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("4CBD60AA") ,com.kingdee.eas.jky.pm.IWbsTask.class, objectCtx);
    }
    public static com.kingdee.eas.jky.pm.IWbsTask getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.jky.pm.IWbsTask)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("4CBD60AA"));
    }
    public static com.kingdee.eas.jky.pm.IWbsTask getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.jky.pm.IWbsTask)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("4CBD60AA"));
    }
}